package com.woniuxy.microsysserver.service.impl;

import com.woniuxy.microsysserver.bean.BanInfo;
import com.woniuxy.microsysserver.mapper.BanMapper;
import com.woniuxy.microsysserver.service.IBanService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Service
@Transactional(readOnly = true)
public class BanServiceImpl implements IBanService {
    @Resource
    private BanMapper banMapper;


    @Override
    public List<BanInfo> findAll() {
        return banMapper.findAll();
    }
}
